import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/pages/index'
import My from '@/pages/my'
import Mai from '@/pages/mai'
import Xx from '@/pages/xx'

Vue.use(Router)

export default new Router({
  routes: [
     {
      path: '/',
      name: 'index',
      component: Index
    },
    {
      path: '/mai',
      name: 'mai',
      component: Mai
    },
    {
      path: '/xx',
      name: 'xx',
      component: Xx
    },
    {
      path: '/my',
      name: 'my',
      component: My
    },
  ]
})
